package com.ls.fw.search.solrj.form.collection;

import org.hibernate.validator.constraints.NotBlank;

import com.ls.fw.search.solrj.bean.Property;

/**
 * create a new shard
 */
public class CreateShardForm {
	@NotBlank
	protected String action = "CREATESHARD";
	@NotBlank
	protected String shard;
	@NotBlank
	protected String collection;
	@NotBlank
	protected String createNodeSet;
	protected String async;
	protected Property property;

	public CreateShardForm() {
		super();
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getAsync() {
		return async;
	}

	public void setAsync(String async) {
		this.async = async;
	}

	public String getShard() {
		return shard;
	}

	public void setShard(String shard) {
		this.shard = shard;
	}

	public String getCollection() {
		return collection;
	}

	public void setCollection(String collection) {
		this.collection = collection;
	}

	public String getCreateNodeSet() {
		return createNodeSet;
	}

	public void setCreateNodeSet(String createNodeSet) {
		this.createNodeSet = createNodeSet;
	}

	public Property getProperty() {
		return property;
	}

	public void setProperty(Property property) {
		this.property = property;
	}

}
